package othello.core;

//座標を表すクラス
public class CellPoint{
    //x座標を表す変数
    private final int x;
    //y座標を表す変数
    private final int y;

    public CellPoint(int x, int y){
        this.x = x;
        this.y = y;
    }

    public CellPoint(CellPoint src){
        this(src.x, src.y);
    }
    
    public int getX(){
        return x;
    }
    
    public int getY(){
        return y;
    }
}